//(function () {
//    "use strict";
var gaUser = angular.module('gaUser', []);
/** @ngInject */
gaUser.controller('gaUserCtrl', gaUserCtrl);

function gaUserCtrl($scope, $http, $location, md5, $cookies, userInfoService) {
  //提交表单
  $scope.submitForm = function () {
    $scope.admin.userPass = md5.createHash($scope.admin.userPass);
    $scope.admin.loginType = 1;
    var params = $scope.admin;
    userInfoService.doLogin(params);
  };
}


//})();







